PaymentPlugins\WooCommerce\PPCP\PaymentButtonController S

Total Complexity 27
Dependencies 4
Dependents 4
Total lines 132
Lines of code 96
Logical lines of code 49
Comment lines 0
Methods 14
Properties 9

Methods 14

Method Rating Maintainability Complexity Lines of code
render_cart_buttons()
S
60 4 13
render_minicart_buttons()
S
63 3 11
render_product_buttons()
S
63 3 10
render_express_buttons()
S
66 3 8
initialize()
S
62 2 11
init_dependencies()
S
71 2 5
add_product_action()
S
66 2 8
get_order_review_fragments()
S
63 2 10
__construct()
S
74 1 5
set_render_cart_buttons()
S
81 1 3
set_render_product_buttons()
S
81 1 3
set_render_express_buttons()
S
81 1 3
set_cart_location()
S
81 1 3
set_minicart_location()
S
81 1 3